<table width="100%" cellspacing="0" cellpadding="0" border="0">
  <tbody>
    <tr>
      <td >
        <div class="tableform">
          <table cellspacing="0" cellpadding="0" border="0" class="orderdetails_basic">
            <tbody>
              <tr>
                <td valign="top" >
                  <h4>发票信息</h4>
                  <div class="division">
                    <table cellspacing="0" cellpadding="0"  border="0">
                      <tbody>
                        <tr>
                          <th >开票方式：</th>
                          <td><b><{$invoice_order.mode}></b></td>
                        </tr>
                        <tr>
                          <th >开票金额：</th>
                          <td><span class="red"><{$invoice_order.amount|cur}></span></td>
                        </tr>
                        <tr>
                          <th >税金：</th>
                          <td><span class="red"><{$invoice_order.cost_tax|cur}></span></td>
                        </tr>
                        <tr>
                          <th >税率：</th>
                          <td><{$invoice_order.tax_rate}>%</td>
                        </tr>
                        <tr>
                          <th >开票状态：</th>
                          <td><{$invoice_order.is_status}></td>
                        </tr>
                        <{if $invoice_order.dateline}>
                         <tr>
                          <th >开票时间：</th>
                          <td><{$invoice_order.dateline|cdate}></td>
                        </tr> 
                       <{/if}>
                      </tbody>
                    </table>
                    </div>
                  </td>
                <td valign="top" ><h4>订单信息</h4>
                  <div class="division">
                    <table cellspacing="0" cellpadding="0"  border="0">
                      <tbody>
                        <tr>
                          <th width="80" nowrap="nowrap" >订单编号：</th>
                          <td><strong><{$invoice_order.order_bn}></span></strong></td>
                        </tr>
                        <tr>
                          <th >订单总额：</th>
                          <td><span class="red"><{$orders.total_amount|cur}></span></td>
                        </tr>
                        <tr>
                          <th >商品金额：</th>
                          <td><span class="red"><{$orders.cost_item|cur}></span></td>
                        </tr>
                        <tr>
                          <th >付款状态：</th>
                          <td><{$orders.pay_status}></td>
                        </tr>
                        <tr>
                          <th >发货状态：</th>
                          <td><{$orders.ship_status}></td>
                        </tr>
                        <tr>
                          <th >打印状态：</th>
                          <td><{$orders.print_status}></td>
                        </tr>
						<{if $dlyArr.logi_name}>
                        <tr>
                            <th >物流公司：</th>
                            <td><b><{$dlyArr.logi_name}></b></td>
                        </tr>
                        <{/if}>
                      </tbody>
                    </table>
                </div></td>
                <td valign="top" ><h4>发票详情</h4>
                  <div class="division">
                    <table cellspacing="0" cellpadding="0"  border="0">
                      <tbody>
                        <tr>
                          <th width="80" nowrap="nowrap" >发票抬头：</th>
                          <td><{$invoice_order.title}></td>
                        </tr>
                        <tr>
                          <th >发票号：</th>
                          <td><span><{$invoice_order.invoice_no}></span></td>
                        </tr>
                        <tr>
                          <th >发票内容：</th>
                          <td><{$invoice_order.content}></td>
                        </tr>
                        <tr>
                          <th >发票备注：</th>
                          <td><{$invoice_order.remarks}></td>
                        </tr>
                        <tr>
                          <th >操作人：</th>
                          <td><{$invoice_order.operator}></td>
                        </tr>
	                    <{if $dlyArr.logi_name}>
	                    <tr>
	                        <th >物流运单号：</th>
	                        <td><b><{$dlyArr.logi_no}></b></td>
	                    </tr>
	                    <{/if}>
                      </tbody>
                    </table>
                </div></td>
                <td valign="top" >
                  <h4>客户信息</h4>
                  <div class="division">
                    <table cellspacing="0" cellpadding="0"  border="0">
                      <tbody>
                        <tr>
                          <th width="80" nowrap="nowrap" >客户名称：</th>
                          <td><{$invoice_order.tax_company}></td>
                        </tr>
                        <tr>
                          <th >客户收货地区：</th>
                          <td><{$invoice_order.ship_area}></td>
                        </tr>
                        <tr>
                          <th >客户地址：</th>
                          <td><{$invoice_order.ship_addr}></td>
                        </tr>
                        <tr>
                          <th >客户电话：</th>
                          <td><{$invoice_order.ship_tel}></td>
                        </tr>
                        <tr>
                          <th >客户税号：</th>
                          <td><{$invoice_order.ship_tax}></td>
                        </tr>
                        <tr>
                          <th >客户开户银行：</th>
                          <td><{$invoice_order.ship_bank}></td>
                        </tr>
                        <tr>
                          <th >客户银行账号：</th>
                          <td><{$invoice_order.ship_bank_no}></td>
                        </tr>
                      </tbody>
                    </table>
                </div></td>
          </tr>
      </tbody></table>
      </div> 
      <{if $electronic_items}>
		<div class="division">
			<table cellspacing="0" class="gridlist" cellpadding="0" border="0"
				width="100%">
				<thead>
					<tr>
						<th>发票代码</th>
						<th>发票号码</th>
						<th>开票流水号</th>
						<th>开票类型</th>
						<th>创建日期</th>
						<th>点击预览</th>
					</tr>
				</thead>
				<tbody>
					<{foreach from=$electronic_items item=val}>
						<tr>
							<td><{$val.invoice_code}></td>
							<td><{$val.invoice_no}></td>
							<td><{$val.serial_no}></td>
							<td><{$val.billing_type_text}></td>
							<td><{$val.create_time}></td>
							<td>
					           <a href="<{$val.preview_url}>" target="_blank" style="color:#3367ac;margin:0px;padding:0px">预览</a>
							</td>
						</tr>
					<{/foreach}> 
				</tbody>
			</table>
		</div> 
	<{/if}>
				<div class="tableform">
					<table width="100%" cellspacing="0" cellpadding="0" border="0"
						class="finderInform">
						<tbody>
							<tr>
								<th><strong>买家留言：</strong></th>
								<td><{if $orders.custom_mark}> <{foreach
									from=$orders.custom_mark item=val}>
									<div id="memo_show">
										<b><{$val.op_content|escape:"HTML"}></b> <{$val.op_time}> by
										<{$val.op_name}>
									</div> <{/foreach}> <{/if}>
								</td>
							</tr>
							<tr>
								<th><strong>订单备注：</strong></th>
								<td><{if $orders.mark_text}> <{foreach
									from=$orders.mark_text item=val}>
									<div id="memo_show">
										<b><{$val.op_content|escape:"HTML"}></b> <{$val.op_time}> by
										<{$val.op_name}>
									</div> <{/foreach}> <{/if}>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</td></tr>
</tbody>
</table>
<style type="text/css">
.finder-detail .tableform table td { vertical-align:top; }
.finder-detail .tableform th { width:70px; }
</style>